<template>
    <d2-container :filename="filename">
        <template slot="header">添加商品属性</template>
        <goods-attr-detail></goods-attr-detail>
    </d2-container>
</template>

<script>
  import GoodsAttrDetail from './components/GoodsAttrDetail'

  export default {
    name: 'add-goods-attr',
    components: {
      GoodsAttrDetail
    },
    data () {
      return {
        filename: __filename,
        attr: {
          name: '',
          cate: '',
          date1: '',
          date2: '',
          delivery: true,
          type: [],
          resource: '',
          desc: '',
          sorted: 999
        }
      }
    },
    methods: {
      onSubmit () {

      }
    }
  }
</script>

<style scoped>

</style>
